<?php
if(!$aplicativo){
?>
<h2>Bem Vindo.</h2>
<br />
<div>
    <div id="column-left" class="principal">
		<?php 
			include './widgets/comunicados.php';
			include './widgets/avisos.php';
		?>
	</div>
	<div id="column-right" class="principal">
		<?php 
			include './widgets/usuario.php';	
			include './widgets/aniversariantes.php';
		?>
	</div>
</div>
<?php 
} else {
	if ($aplicativo == 'admin') {
		include $aplicativo . '/index.php';
	} else if($aplicativo == 'internos') {
		include './sistemas/' . $aplicativo . '/' . $subaplicativo . '.php';
	} else {
		include './sistemas/' . $aplicativo . '/index.php' ;
	}
}
?>